package com.miukoo.aikao.ucenter.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.miukoo.aikao.core.dtos.PageReqDto;
import com.miukoo.aikao.core.dtos.PageResDto;
import com.miukoo.aikao.ucenter.dto.request.AchievementReqDto;
import com.miukoo.aikao.ucenter.dto.response.AchievementRespDto;
import com.miukoo.aikao.ucenter.pojos.Achievement;

import java.util.List;

/**
 * @Author miukoo<miukoo@126.com>
 * @Date 2020/11/19  
 * @Version 1.0
 */
public interface AchievementService extends IService<Achievement> {

    /**
     * 分页查询数据
     * @param reqDto
     * @return
     */
    PageResDto<List<AchievementRespDto>> listForUserId(PageReqDto<AchievementReqDto> reqDto, Long userId);

}

